package com.dkm.ec.bbs.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:论坛主题 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-05-24 17:40:29
 */
 @ITable(name="bbsTopic",code="t_bbs_topic")
public class BbsTopicTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="subject",column="subject_")
	protected String  subject; 		/*标题*/
	@IField(name="hasImg",column="has_img_")
	protected char  hasImg; 		/*是否有图片*/
	@IField(name="img",column="img_")
	protected String  img; 		/*首图*/
	@IField(name="summary",column="summary_")
	protected String  summary; 		/*简介*/
	@IField(name="cateId",column="cate_id_")
	protected String  cateId; 		/*所属板块 ID,已启用*/
	@IField(name="cateKey",column="cate_key_")
	protected String  cateKey; 		/*所属板块 KEY。*/
	@IField(name="meId",column="me_id_")
	protected String  meId; 		/*所属会员 ID（参与者）*/
	@IField(name="isPerfect",column="is_perfect_")
	protected char  isPerfect; 		/*是否精华主题*/
	@IField(name="lastReplyTime",column="last_reply_time_")
	protected java.util.Date  lastReplyTime; 		/*最新回帖时间*/
	@IField(name="nickname",column="nickname_")
	protected String  nickname; 		/*会员昵称*/
	@IField(name="status",column="status_")
	protected String  status; 		/*状态。publish=发布；draft=草稿*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateBy",column="update_by_")
	protected String  updateBy; 		/*更新者*/
	@IField(name="updateTime",column="update_time_")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="record",column="record_")
	protected java.math.BigDecimal  record; 		/*分值*/
	@IField(name="htmlTime",column="html_time_")
	protected java.util.Date  htmlTime; 		/*静态化时间*/
	@IField(name="htmlPath",column="html_path_")
	protected String  htmlPath; 		/*静态化页面请求地址*/
	@IField(name="keyWord",column="key_word_")
	protected String  keyWord; 		/*关键词*/
	@IField(name="isTop",column="is_top_")
	protected char  isTop; 		/*是否置顶*/
	@IField(name="preTopicHtmlPath",column="pre_topic_html_path_")
	protected String  preTopicHtmlPath; 		/*上一个话题静态地址*/
	@IField(name="nextTopicHtmlPath",column="next_topic_html_path_")
	protected String  nextTopicHtmlPath; 		/*下一个话题的静态地址*/
	@IField(name="hotValue",column="hot_value_")
	protected Integer  hotValue; 		/*热帖推荐值*/
	@IField(name="incrId",column="incr_id_")
	protected Long  incrId; 		/*自增长ID*/
	@IField(name="isRecommend",column="is_recommend_")
	protected char  isRecommend; 		/*是否推荐首页*/
	@IField(name="isKnowledge",column="is_knowledge_")
	protected char  isKnowledge; 		/*是否推荐至知识堂（Y=是，N=否）*/
	@IField(name="isForumTop",column="is_forum_top_")
	protected char  isForumTop; 		/*是否推荐至板块顶部（Y=是，N=否）*/
	@IField(name="productModel",column="product_model_")
	protected String  productModel; 		/*产品型号*/
	@IField(name="imgModel",column="img_model_")
	protected char  imgModel; 		/*图片排版模式，0（无图），1（1小图），2（1大图），3（3小图）*/
	@IField(name="fakeViewCount",column="fake_view_count_")
	protected Integer  fakeViewCount; 		/*虚拟浏览数*/
	@IField(name="pageLink",column="page_link_")
	protected String  pageLink; 		/*页面URL*/
	@IField(name="author",column="author_")
	protected String  author; 		/*原帖作者*/
	@IField(name="hasVideo",column="has_video_")
	protected String  hasVideo; 		/*has_video_*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSubject(String subject) 
	{
		this.subject = subject;
	}
	/**
	 * 返回 标题
	 * @return
	 */
	public String getSubject() 
	{
		return this.subject;
	}
	public void setHasImg(char hasImg) 
	{
		this.hasImg = hasImg;
	}
	/**
	 * 返回 是否有图片
	 * @return
	 */
	public char getHasImg() 
	{
		return this.hasImg;
	}
	public void setImg(String img) 
	{
		this.img = img;
	}
	/**
	 * 返回 首图
	 * @return
	 */
	public String getImg() 
	{
		return this.img;
	}
	public void setSummary(String summary) 
	{
		this.summary = summary;
	}
	/**
	 * 返回 简介
	 * @return
	 */
	public String getSummary() 
	{
		return this.summary;
	}
	public void setCateId(String cateId) 
	{
		this.cateId = cateId;
	}
	/**
	 * 返回 所属板块 ID,已启用
	 * @return
	 */
	public String getCateId() 
	{
		return this.cateId;
	}
	public void setCateKey(String cateKey) 
	{
		this.cateKey = cateKey;
	}
	/**
	 * 返回 所属板块 KEY。
	 * @return
	 */
	public String getCateKey() 
	{
		return this.cateKey;
	}
	public void setMeId(String meId) 
	{
		this.meId = meId;
	}
	/**
	 * 返回 所属会员 ID（参与者）
	 * @return
	 */
	public String getMeId() 
	{
		return this.meId;
	}
	public void setIsPerfect(char isPerfect) 
	{
		this.isPerfect = isPerfect;
	}
	/**
	 * 返回 是否精华主题
	 * @return
	 */
	public char getIsPerfect() 
	{
		return this.isPerfect;
	}
	public void setLastReplyTime(java.util.Date lastReplyTime) 
	{
		this.lastReplyTime = lastReplyTime;
	}
	/**
	 * 返回 最新回帖时间
	 * @return
	 */
	public java.util.Date getLastReplyTime() 
	{
		return this.lastReplyTime;
	}
	public void setNickname(String nickname) 
	{
		this.nickname = nickname;
	}
	/**
	 * 返回 会员昵称
	 * @return
	 */
	public String getNickname() 
	{
		return this.nickname;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 状态。publish=发布；draft=草稿
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建者
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}
	/**
	 * 返回 更新者
	 * @return
	 */
	public String getUpdateBy() 
	{
		return this.updateBy;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	public void setRecord(java.math.BigDecimal record) 
	{
		this.record = record;
	}
	/**
	 * 返回 分值
	 * @return
	 */
	public java.math.BigDecimal getRecord() 
	{
		return this.record;
	}
	public void setHtmlTime(java.util.Date htmlTime) 
	{
		this.htmlTime = htmlTime;
	}
	/**
	 * 返回 静态化时间
	 * @return
	 */
	public java.util.Date getHtmlTime() 
	{
		return this.htmlTime;
	}
	public void setHtmlPath(String htmlPath) 
	{
		this.htmlPath = htmlPath;
	}
	/**
	 * 返回 静态化页面请求地址
	 * @return
	 */
	public String getHtmlPath() 
	{
		return this.htmlPath;
	}
	public void setKeyWord(String keyWord) 
	{
		this.keyWord = keyWord;
	}
	/**
	 * 返回 关键词
	 * @return
	 */
	public String getKeyWord() 
	{
		return this.keyWord;
	}
	public void setIsTop(char isTop) 
	{
		this.isTop = isTop;
	}
	/**
	 * 返回 是否置顶
	 * @return
	 */
	public char getIsTop() 
	{
		return this.isTop;
	}
	public void setPreTopicHtmlPath(String preTopicHtmlPath) 
	{
		this.preTopicHtmlPath = preTopicHtmlPath;
	}
	/**
	 * 返回 上一个话题静态地址
	 * @return
	 */
	public String getPreTopicHtmlPath() 
	{
		return this.preTopicHtmlPath;
	}
	public void setNextTopicHtmlPath(String nextTopicHtmlPath) 
	{
		this.nextTopicHtmlPath = nextTopicHtmlPath;
	}
	/**
	 * 返回 下一个话题的静态地址
	 * @return
	 */
	public String getNextTopicHtmlPath() 
	{
		return this.nextTopicHtmlPath;
	}
	public void setHotValue(Integer hotValue) 
	{
		this.hotValue = hotValue;
	}
	/**
	 * 返回 热帖推荐值
	 * @return
	 */
	public Integer getHotValue() 
	{
		return this.hotValue;
	}
	public void setIncrId(Long incrId) 
	{
		this.incrId = incrId;
	}
	/**
	 * 返回 自增长ID
	 * @return
	 */
	public Long getIncrId() 
	{
		return this.incrId;
	}
	public void setIsRecommend(char isRecommend) 
	{
		this.isRecommend = isRecommend;
	}
	/**
	 * 返回 是否推荐首页
	 * @return
	 */
	public char getIsRecommend() 
	{
		return this.isRecommend;
	}
	public void setIsKnowledge(char isKnowledge) 
	{
		this.isKnowledge = isKnowledge;
	}
	/**
	 * 返回 是否推荐至知识堂（Y=是，N=否）
	 * @return
	 */
	public char getIsKnowledge() 
	{
		return this.isKnowledge;
	}
	public void setIsForumTop(char isForumTop) 
	{
		this.isForumTop = isForumTop;
	}
	/**
	 * 返回 是否推荐至板块顶部（Y=是，N=否）
	 * @return
	 */
	public char getIsForumTop() 
	{
		return this.isForumTop;
	}
	public void setProductModel(String productModel) 
	{
		this.productModel = productModel;
	}
	/**
	 * 返回 产品型号
	 * @return
	 */
	public String getProductModel() 
	{
		return this.productModel;
	}
	public void setImgModel(char imgModel) 
	{
		this.imgModel = imgModel;
	}
	/**
	 * 返回 图片排版模式，0（无图），1（1小图），2（1大图），3（3小图）
	 * @return
	 */
	public char getImgModel() 
	{
		return this.imgModel;
	}
	public void setFakeViewCount(Integer fakeViewCount) 
	{
		this.fakeViewCount = fakeViewCount;
	}
	/**
	 * 返回 虚拟浏览数
	 * @return
	 */
	public Integer getFakeViewCount() 
	{
		return this.fakeViewCount;
	}
	public void setPageLink(String pageLink) 
	{
		this.pageLink = pageLink;
	}
	/**
	 * 返回 页面URL
	 * @return
	 */
	public String getPageLink() 
	{
		return this.pageLink;
	}
	public void setAuthor(String author) 
	{
		this.author = author;
	}
	/**
	 * 返回 原帖作者
	 * @return
	 */
	public String getAuthor() 
	{
		return this.author;
	}
	public void setHasVideo(String hasVideo) 
	{
		this.hasVideo = hasVideo;
	}
	/**
	 * 返回 has_video_
	 * @return
	 */
	public String getHasVideo() 
	{
		return this.hasVideo;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("subject", this.subject) 
		.append("hasImg", this.hasImg) 
		.append("img", this.img) 
		.append("summary", this.summary) 
		.append("cateId", this.cateId) 
		.append("cateKey", this.cateKey) 
		.append("meId", this.meId) 
		.append("isPerfect", this.isPerfect) 
		.append("lastReplyTime", this.lastReplyTime) 
		.append("nickname", this.nickname) 
		.append("status", this.status) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.append("updateBy", this.updateBy) 
		.append("updateTime", this.updateTime) 
		.append("record", this.record) 
		.append("htmlTime", this.htmlTime) 
		.append("htmlPath", this.htmlPath) 
		.append("keyWord", this.keyWord) 
		.append("isTop", this.isTop) 
		.append("preTopicHtmlPath", this.preTopicHtmlPath) 
		.append("nextTopicHtmlPath", this.nextTopicHtmlPath) 
		.append("hotValue", this.hotValue) 
		.append("incrId", this.incrId) 
		.append("isRecommend", this.isRecommend) 
		.append("isKnowledge", this.isKnowledge) 
		.append("isForumTop", this.isForumTop) 
		.append("productModel", this.productModel) 
		.append("imgModel", this.imgModel) 
		.append("fakeViewCount", this.fakeViewCount) 
		.append("pageLink", this.pageLink) 
		.append("author", this.author) 
		.append("hasVideo", this.hasVideo) 
		.toString();
	}
}